package javaDemo06;

public class Zero {
    public static void main(String[] args) {
        zero(3,3);
    }
    public static void zero(int wide,int height){
        int d = 1;
        for(int i = 1;i <= wide * height;i++){
            int c = (int)(Math.random() * 2);
            if(d < wide){
                System.out.print(c);
                d++;
            }else if(d == wide){
                System.out.println(c);
                d = 1;
            }
        }
    }
}
